<%@page import="com.amkor.study.direct.rpc.*, com.amkor.study.direct.domain.*" %>
<%@page import="java.util.List"%>
<%@page import="com.google.gson.*" %>
<%
	Gson gson = new Gson();
	DirectRpcServiceImpl directSvcImpl = new DirectRpcServiceImpl();
	List<Personal> list = directSvcImpl.getPersonalAll();
	//List<Personal> zlist =  directSvcImpl.createPersonal(Map<String, String> formFields, Personal  );
	System.out.println(13214343243242);
	JsonObject jo = new JsonObject();
	jo.add("root", gson.toJsonTree(list));
	jo.addProperty("success", true);
	
	out.print(jo.toString());
%>